-
Home
-
Cost Calculator Builder
-
3.2.46
-
Code
-
Classes
- Discounts
Total Complexity |
59 |
Dependencies |
4 |
Dependents |
7 |
Total lines |
488 |
Lines of code |
402 |
Logical lines of code |
149 |
Comment lines |
23 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_discount_status() |
A |
47 |
13 |
34 |
duplicate_discounts() |
A |
40 |
6 |
68 |
create_discount() |
A |
55 |
8 |
18 |
update_discount() |
S |
55 |
6 |
19 |
validate_promocodes() |
S |
56 |
6 |
19 |
get_all_discounts() |
S |
45 |
3 |
45 |
get_calc_active_discounts() |
S |
49 |
3 |
37 |
has_active_promocode() |
S |
51 |
2 |
33 |
get_all_calc_discounts() |
S |
51 |
2 |
32 |
get_promocodes_by_promocode() |
S |
51 |
1 |
35 |
create_table() |
S |
55 |
1 |
24 |
update_discount_inner() |
S |
62 |
2 |
10 |
delete_discounts() |
S |
70 |
2 |
5 |
validate_calc_id() |
S |
71 |
2 |
6 |
get_total_discounts() |
S |
63 |
1 |
12 |
delete_all_discounts() |
S |
72 |
1 |
5 |